package com.hjduan.csdn.model;

/**
 * Created with IntelliJ IDEA.
 * Description: 数据类
 * 段浩杰   2017-08-05-22:34
 */
public class Data {
    private String time;
    private String href;
    private String linkName;

    public Data() {
    }

    public Data(String time, String href, String linkName) {
        this.time = time;
        this.href = href;
        this.linkName = linkName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getLinkName() {
        return linkName;
    }

    public void setLinkName(String linkName) {
        this.linkName = linkName;
    }

    public String toString() {
        return linkName+"-->"+href+"-->"+"在"+time+" 抓取";
    }
}
